package money

import (
	"game_server/logic/gate/api"
	"game_server/model"
	"proto/money"
)

type moneyRpc struct {
}

var (
	rpc = new(moneyRpc)
)

func (*moneyRpc) SyncData(player *model.Player, msg *proto_money.SyncData) {
	gate_api.SendMsg(player, msg)
}

func (*moneyRpc) SyncChange(player *model.Player, msg *proto_money.SyncChange) {
	gate_api.SendMsg(player, msg)
}
